package function;

public class Function01 {
    public static void main(String[] args) {
        System.out.println(max(3,2));
    }

    //加法
    public static int add(int a,int b){
        return a+b;
    }

    //比大小
    public static int max(int num1,int num2){
        return num1>num2? num1:num2;
    }
}
